'''
        Created on 20.12.2012
        
        @author: felix
        '''
from game import GameLogic
from game.player.alpha_beta_player.alpha_beta_framework.heuristic.Heuristic import Heuristic
'''
Created on 20.12.2012

@author: felix
'''

class MaxLenHeuristic(Heuristic):
    
    def heuristic(self, field, action, color, nextColor, depth):
        return GameLogic.getJustMaxLen(field, action, 0)
    